package com.kuangqi.paymentdemo.service;

import com.kuangqi.paymentdemo.entity.RefundInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Optional;

public interface RefundInfoService extends IService<RefundInfo> {

    RefundInfo createRefundByOrderNo(String orderNo, String reason);

    void updateRefund(String content);

    List<RefundInfo> getNoRefundOrderByDuration(int minutes);

     String updateRefundStatus(Optional<String> reponseData,RefundInfo refundInfo);
}
